package com.newlink.building.main.mvp.contract

import com.newlink.building.common_base.base.IModel
import com.newlink.building.common_base.base.IPresenter
import com.newlink.building.common_base.base.IView
import com.newlink.building.common_base.model.bean.*
import io.reactivex.Observable

/**
 * Created by xiaodong on 2022/9/26.
 */
class Module_Main_RoomUserContract {
    interface View : IView {
        fun getRoomUserListSuccess(data: MutableList<RoomUserData>)
    }

    interface Presenter : IPresenter<View> {
        fun getRoomUserList(token: String, roomId: String, name: String)
    }

    interface Model : IModel {
        fun getRoomUserList(
            token: String,
            roomId: String,
            name: String
        ): Observable<HttpResult<MutableList<RoomUserData>>>
    }
}